home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _18153121943A44A99919B4B5DFD23348 < prev    next >
Text File  |  2004-02-07  |  1KB  |  63 lines

  1. <html>
  2. <script language="javascript1.2" src="whutils.js"></script>
  3. <script language="javascript1.2">
  4. <!--
  5. var gsTopic="";
  6.  
  7. if (location.hash.length > 1)
  8. {
  9.     var nPos = location.hash.indexOf(">>");
  10.     if (nPos>1)
  11.     {
  12.         gsTopic = location.hash.substring(1, nPos);
  13.         parseParam(location.hash.substring(nPos+2));
  14.     }
  15.     else
  16.         gsTopic = location.hash.substring(1);
  17. }
  18.  
  19.  
  20.     var strHtml="";
  21.     strHtml+="<frameset rows=\'100%,*\'>";
  22.     strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";
  23.     strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";
  24.     strHtml+="</frameset>";
  25.     document.write(strHtml);
  26.  
  27. function parseParam(sParam)
  28. {
  29.     if (sParam)
  30.     {
  31.         var nBPos=0;
  32.         do 
  33.         {
  34.             var nPos=sParam.indexOf(">>", nBPos);
  35.             if (nPos!=-1)
  36.             {
  37.                 if (nPos>0)
  38.                 {
  39.                     var sPart=sParam.substring(nBPos, nPos);
  40.                     parsePart(sPart);
  41.                 }
  42.                 nBPos = nPos + 2;
  43.             }
  44.             else
  45.             {
  46.                 var sPart=sParam.substring(nBPos);
  47.                 parsePart(sPart);
  48.                 break;
  49.             }
  50.         } while(nBPos < sParam.length);
  51.     }    
  52. }
  53.  
  54. function parsePart(sPart)
  55. {
  56.     if(sPart.toLowerCase().indexOf("cap=")==0)
  57.     {
  58.         document.title=_browserStringToText(sPart.substring(4));
  59.     }
  60. }
  61. //-->
  62. </script>
  63. </html>